package com.pay.holder;

import com.pay.entity.PaymentInfoDO;

/**
 * @author 周益和
 * @ClassName PaymentInfoHolder
 * @qq 1552951165
 */
public class PaymentInfoHolder {
    private static ThreadLocal<PaymentInfoDO> paymentInfoDo = new ThreadLocal<>();
    
    public static PaymentInfoDO get() {
        return paymentInfoDo.get();
    }
    
    public static void set(PaymentInfoDO paymentInfo) {
        paymentInfoDo.set(paymentInfo);
    }
}
